Javier Jardón [Mon, 30 Nov 2009 05:01:43 +0000 (06:01 +0100)]
[gdk/directfb] Made dfb_events_dispatch() thread save
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=591438
Matthias Clasen [Mon, 30 Nov 2009 00:48:16 +0000 (19:48 -0500)]
Whitespace fixes
Matthias Clasen [Mon, 30 Nov 2009 00:00:28 +0000 (19:00 -0500)]
Use a url label instead of a link button
This looks nicer, and allows us to make the url-hook work again
for the website url. Fixes bug 603201.
Matthias Clasen [Mon, 30 Nov 2009 00:00:10 +0000 (19:00 -0500)]
Trivial doc typo fix
Matthias Clasen [Sun, 29 Nov 2009 22:17:26 +0000 (17:17 -0500)]
Avoid a harmless warning
In labels with colored, underlined text, the link handling code
would spit out a warning, even if no links are around.
See 603302.
Jorge González [Sun, 29 Nov 2009 11:24:10 +0000 (12:24 +0100)]
Updated Spanish translation
Matthias Clasen [Sun, 29 Nov 2009 02:47:36 +0000 (21:47 -0500)]
Allow holding compose key while entering a sequence
This broke when we started allowing Super, Hyper and Meta as
accel modifiers. See bug 601959.
Matthias Clasen [Sun, 29 Nov 2009 02:43:59 +0000 (21:43 -0500)]
Make the toolbar-style and toolbar-size settings work
This broke when moving the setting from gtktoolbar.c to gtksettings.c.
Spotted by Christian Persch in bug 603271.
Matthias Clasen [Sun, 29 Nov 2009 01:59:56 +0000 (20:59 -0500)]
Fix small documentation problems after the toolpalette merge
Several Since tags were wrong. Spotted by Christian Persch in
bug 603268.
Alexander Larsson [Sun, 29 Nov 2009 01:49:37 +0000 (20:49 -0500)]
Position new ui nodes correctly when existing dirty dead nodes exist
If you add a new ui node that was recently removed it will still be
in the tree, but marked dirty. In this case we previously just used
the old node, which meant it wouldn't get the same position as if
the dirty nodes had been processed first (and deleted) before the
new node was added.
We handle this by detecting this case and reposition the node as if
it was new.
https://bugzilla.gnome.org/show_bug.cgi?id=603128
Matthew Barnes [Sun, 29 Nov 2009 01:00:07 +0000 (20:00 -0500)]
Bug 601869 - GtkUIManager assumes too much about popup menus
Check that the child of a popup menu item is actually a GtkAccelLabel
before setting its "accel-closure" property.
Christian Persch [Tue, 10 Nov 2009 14:40:29 +0000 (15:40 +0100)]
Make the action widgets internal children of GtkNotebook
So they're not included in the result of gtk_container_foreach() which
preserves it as a convenient way to get the list of all notebook content
widgets.
Bug #601409.
Matthias Clasen [Sat, 28 Nov 2009 15:27:32 +0000 (10:27 -0500)]
Rework a broken workaround for a Java bug
This was committed to fix bug 568263, but it is not correct, as
pointed out in 601611.
Nils-Christoph Fiedler [Sat, 28 Nov 2009 12:37:49 +0000 (13:37 +0100)]
Updated Low German translation
Nils-Christoph Fiedler [Sat, 28 Nov 2009 12:36:06 +0000 (13:36 +0100)]
Updated Low German translation
Nils-Christoph Fiedler [Sat, 28 Nov 2009 12:30:13 +0000 (13:30 +0100)]
Updated Low German translation
Jorge González [Sat, 28 Nov 2009 09:53:59 +0000 (10:53 +0100)]
Updated Spanish translation
Matthias Clasen [Sat, 28 Nov 2009 07:17:40 +0000 (02:17 -0500)]
Improve docs of two style properties
See discussion in bug 561334. Based on a patch by Paul Bolle.
Matthias Clasen [Sat, 28 Nov 2009 04:44:01 +0000 (23:44 -0500)]
Handle reparenting out of a socket
Although it isnt' allowed by the XEMBED protocol, its possible
that the plug window will be reparented out of the socket without
the socket having done so. See bug 123569. Patch by David Jander.
Javier Jardón [Sun, 8 Nov 2009 06:04:37 +0000 (07:04 +0100)]
Move documentation to inline comments: GtkStock
https://bugzilla.gnome.org/show_bug.cgi?id=597865
Matthias Clasen [Sat, 28 Nov 2009 01:57:59 +0000 (20:57 -0500)]
Allocate a large-enough and mask
We came up short when the image width is not a multiple of 8.
Bug 585383, fix by Felix Riemann.
Matthias Clasen [Fri, 27 Nov 2009 23:44:31 +0000 (18:44 -0500)]
Add a missing include
memset() is used in gdk/x11/gdkinput-xfree.c but string.h is not included.
Patch by Vincent Untz, bug 597026.
Javier Jardón [Sat, 28 Nov 2009 01:59:06 +0000 (02:59 +0100)]
Move documentation from templates to inline comments: GtkWidget
https://bugzilla.gnome.org/show_bug.cgi?id=597865
Matthias Clasen [Fri, 27 Nov 2009 23:39:15 +0000 (18:39 -0500)]
Be a bit more forgiving about invalid monitor number
By moving the g_return_if_fail() checks into individual monitor functions.
See bug 561130.
Matthias Clasen [Fri, 27 Nov 2009 23:17:33 +0000 (18:17 -0500)]
Short-circuit get_frame_extents for override-redirect windows
There's no reason to do our expensive round-trips for an override-redirect
window; just use local information. See bug 581145. Patch by Owen Taylor.
Christian Persch [Mon, 23 Nov 2009 13:09:55 +0000 (14:09 +0100)]
Implement gail_image_get_image_size for storage GICON and ICON_NAME
Bug #602724.
Christian Persch [Wed, 11 Nov 2009 17:59:12 +0000 (18:59 +0100)]
Add UI manager attribute to always show image in menu items
Add always-show-image="true|false" attribute to <menuitem> element in UI
manager markup. If present, it overrides the always-show-image property
on image menu items. Bug #589842.
Christian Persch [Sun, 16 Aug 2009 20:57:49 +0000 (22:57 +0200)]
Add gtk_action_[sg]et_always_show_image()
Add a way to tell a GtkAction to have its menu item proxies always show
their image. Bug #589842.
Michael Natterer [Fri, 27 Nov 2009 14:58:13 +0000 (15:58 +0100)]
Add missing single-include guards
Kristian Rietveld [Fri, 27 Nov 2009 12:40:30 +0000 (13:40 +0100)]
Bug 596473 - Second double-click of GtkTreeView row doesn't emit...
Rework double click handling in GtkTreeView. We cannot blindly use
the 2BUTTON_PRESS and 3BUTTON_PRESS events. In case a user does two
fast double clicks, we receive a 3BUTTON_PRESS and BUTTON_PRESS. We
cannot easily deduce two double clicks from this.
We have removed the bookkeeping using row references of the last paths
clicked. Instead we monitor event time, (x, y) coordinates and compare
against double-click-time and double-click-distance ourselves.
Kristian Rietveld [Thu, 26 Nov 2009 20:05:01 +0000 (21:05 +0100)]
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
Kristian Rietveld [Thu, 26 Nov 2009 19:31:29 +0000 (20:31 +0100)]
Logically re-group fields in GtkTreePrivate structure
This should now cause much less of a headache than before. Fields have
been properly reordered, each group has been given a comment. Since the
GtkTreePrivate structure is private (as the name says), this should not
have any effect on ABI.
Matej Urbančič [Fri, 27 Nov 2009 12:38:19 +0000 (13:38 +0100)]
Updated Slovenian translation
Matthias Clasen [Fri, 27 Nov 2009 07:11:08 +0000 (02:11 -0500)]
Updates
Matthias Clasen [Fri, 27 Nov 2009 06:23:55 +0000 (01:23 -0500)]
Add customary args to gtk_style_paint_spinner()
...and adjust all callers.
Matthias Clasen [Fri, 27 Nov 2009 05:47:03 +0000 (00:47 -0500)]
Remove duplicate entries
Matthias Clasen [Fri, 27 Nov 2009 05:46:18 +0000 (00:46 -0500)]
Fix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:45:22 +0000 (00:45 -0500)]
Fix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:43:51 +0000 (00:43 -0500)]
Fix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:42:54 +0000 (00:42 -0500)]
Remove duplicate doc comments.
These can only serve to confuse gtk-doc.
Matthias Clasen [Fri, 27 Nov 2009 05:39:26 +0000 (00:39 -0500)]
Fix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:37:20 +0000 (00:37 -0500)]
Un-doc-commentify a comment
Matthias Clasen [Fri, 27 Nov 2009 05:37:03 +0000 (00:37 -0500)]
Fix a doc comment
Matthias Clasen [Fri, 27 Nov 2009 05:32:14 +0000 (00:32 -0500)]
Update debug flag information
Matthias Clasen [Fri, 27 Nov 2009 05:14:37 +0000 (00:14 -0500)]
Adjust default value for GtkToolItemGroup::label
Matthias Clasen [Fri, 27 Nov 2009 05:11:59 +0000 (00:11 -0500)]
Exclude GtkToolItemGroup::label-widget from default value test
Matthias Clasen [Fri, 27 Nov 2009 04:54:55 +0000 (23:54 -0500)]
Merge branch 'master' into toolpalette
Matthias Clasen [Fri, 27 Nov 2009 04:52:20 +0000 (23:52 -0500)]
Fix up docs, and set up the aliasing machinery
Matthias Clasen [Fri, 27 Nov 2009 00:41:38 +0000 (19:41 -0500)]
Some cleanups for the toolpalette demo
Matthias Clasen [Thu, 26 Nov 2009 23:56:25 +0000 (18:56 -0500)]
Fix another doc typo
Nishibori Kiyotaka [Thu, 26 Nov 2009 14:13:38 +0000 (23:13 +0900)]
Updated Japanese translation
Matthias Clasen [Thu, 26 Nov 2009 04:39:31 +0000 (23:39 -0500)]
Set scale_num only once
This modifies the previous commit to be according the upstream libjpeg
maintainers recommendations. See bug 588740.
Matthias Clasen [Wed, 25 Nov 2009 22:33:41 +0000 (17:33 -0500)]
Remove misleading text about invisible text
Invisible text has been working reasonably well since 2.8.
Nils-Christoph Fiedler [Wed, 25 Nov 2009 17:08:10 +0000 (18:08 +0100)]
Updated LowGerman translation
Matthias Clasen [Wed, 25 Nov 2009 06:02:40 +0000 (01:02 -0500)]
Make level3 keys work again
We were not paying attention to consumed modifiers when adding
virtual modifiers. This fixes RH bug 537567.
Christian Persch [Mon, 23 Nov 2009 13:33:08 +0000 (14:33 +0100)]
Make setting the icon-size property on GTK_IMAGE_GICON images work
Bug #602725.
Ivar Smolin [Sun, 22 Nov 2009 10:20:41 +0000 (12:20 +0200)]
Updating Estonian translation
Johannes Schmid [Wed, 18 Nov 2009 09:38:45 +0000 (10:38 +0100)]
toolpalette: Don't call gdk_window_process_updates() in the animation callback
That does not seem to make any difference.
Johannes Schmid [Wed, 18 Nov 2009 09:32:37 +0000 (10:32 +0100)]
toolpalette: Added dnd code to the gtk-demo
Matt Arsenault [Sat, 14 Nov 2009 15:08:32 +0000 (10:08 -0500)]
Fix missing documentation for GdkPixbufSimpleAnim.
It wasn't clear it was a GObject.
Mario Blättermann [Sun, 15 Nov 2009 16:58:59 +0000 (17:58 +0100)]
Added dummy Low German translation
Nils-Christoph Fiedler [Sun, 15 Nov 2009 16:55:27 +0000 (17:55 +0100)]
Added Low German translation
Kristian Rietveld [Sun, 15 Nov 2009 14:29:45 +0000 (15:29 +0100)]
Document how Cocoa coordinate and monitor layout transforms to GDK work
Alberto Garcia [Wed, 11 Nov 2009 11:14:16 +0000 (12:14 +0100)]
Bug 601512 - Remove unnecessary check in GtkTreeModelFilter
gtk_tree_model_filter_set_visible_func() is checking for
priv->visible_func, but that is always going to be NULL since there's
no way to call this function twice.
Besides that the code itself is wrong, since it tries to call
priv->visible_destroy without making sure that it's not NULL
Tor Lillqvist [Sat, 14 Nov 2009 22:32:14 +0000 (00:32 +0200)]
Awful hack for problem in dnd of images from Firefox on Windows
Bypassed with #if 0 because it is an awful hack and not really
acceptable from a privacy point of view for instance. It prevents
Firefox from deleting temporary files containing images being dragged,
so they stay on disk. Bug #561973.
Antón Méixome [Fri, 13 Nov 2009 10:27:54 +0000 (11:27 +0100)]
Updated Galician Translation
Li Yuan [Fri, 13 Nov 2009 04:28:03 +0000 (12:28 +0800)]
Require atk 1.29.2 for bug #569430.
Christian Dywan [Thu, 12 Nov 2009 17:57:37 +0000 (18:57 +0100)]
Implement gtk_statusbar_get_message_area and "message_area" child
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=594535
Kjartan Maraas [Wed, 11 Nov 2009 20:39:21 +0000 (21:39 +0100)]
Fix typo
Kjartan Maraas [Wed, 11 Nov 2009 19:13:39 +0000 (20:13 +0100)]
Updated Norwegian bokmål translation.
Christian Dywan [Wed, 11 Nov 2009 19:06:52 +0000 (20:06 +0100)]
[gtk/gtkwindow] Added accessor for GTK_WINDOW ()->type
There already is the "type" property, but an accessor
function for it would be intuitive: gtk_window_get_window_type()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=595498
Javier Jardón [Tue, 10 Nov 2009 20:02:45 +0000 (21:02 +0100)]
Only use gdk_input_select_events() if XINPUT_NONE is defined
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=601337
Marek Kasik [Wed, 11 Nov 2009 13:21:11 +0000 (14:21 +0100)]
Rotate figures on landscape icons in page setup dialog
Rotate figures on landscape and reverse landscape icons
to match output of print (#599402).
Johannes Schmid [Wed, 11 Nov 2009 09:02:36 +0000 (10:02 +0100)]
toolpalette: Fixed inconsistent spacing
Johannes Schmid [Wed, 11 Nov 2009 08:42:49 +0000 (09:42 +0100)]
toolpalette: fixed trailing whitespaces
Johannes Schmid [Wed, 11 Nov 2009 08:37:55 +0000 (09:37 +0100)]
toolpalette: Fixed documentation
Johannes Schmid [Wed, 11 Nov 2009 08:33:49 +0000 (09:33 +0100)]
toolpalette: allow to reset same adjustment
Johannes Schmid [Wed, 11 Nov 2009 08:32:15 +0000 (09:32 +0100)]
toolpalettte: Fixed some style issues
Johannes Schmid [Wed, 11 Nov 2009 08:27:00 +0000 (09:27 +0100)]
toolpalette: Always show text horizontally
Javier Jardón [Tue, 10 Nov 2009 19:37:56 +0000 (20:37 +0100)]
Fix incorrect GtkMovementStep description
Reported by James Campos here:
https://bugzilla.gnome.org/show_bug.cgi?id=601432
Javier Jardón [Tue, 10 Nov 2009 19:26:59 +0000 (20:26 +0100)]
Fix compilation warning: Use GDK_GPOINTER_TO_NATIVE_WINDOW() macro
Javier Jardón [Tue, 10 Nov 2009 19:09:18 +0000 (20:09 +0100)]
[gdk] Added GDK_GPOINTER_TO_NATIVE_WINDOW() macro
GdkNativeWindow cast is needed in 64-bit Windows so gpointer data
is converted to a (64-bit) native window handle.
GPOINTER_TO_UINT() is used in other platforms.
Tor Lillqvist [Tue, 10 Nov 2009 14:08:23 +0000 (16:08 +0200)]
Revert "Fix compilation warning: Use G_POINTER_TO_UINT"
GPOINTER_TO_UINT() *does* drop the upper 32 bits on 64-bit
Windows. After all, it by definition produces a (32-bit) unsigned int.
The GLib commit mentioned in the reverted commit's log message just
means that it does this without any compiler warning about casting
from pointer to integer of smaller size, as it first casts to a 64-bit
integer, then casts that to a (32-bit) int.
We must use the GdkNativeWindow cast here so that on 64-bit Windows
the gpointer data in embedded_list is converted to a (64-bit) native
window handle without going through 32-bit truncation. If ifdefs are
required to avoid compiler warnings on X11, so be it then. Probably it
would be best to introduce a GDK_GPOINTER_TO_NATIVE_WINDOW() macro in
gdktypes.h.
This reverts commit
78151dc7d41069e876fe165527e68c238ef7fd4a.
Javier Jardón [Mon, 9 Nov 2009 21:39:54 +0000 (22:39 +0100)]
Fix compilation warning: Use a variable to store the return value
Johannes Schmid [Mon, 9 Nov 2009 21:16:15 +0000 (22:16 +0100)]
Ported gtktoolpalette from a custom array to GPtrArray.
...and some mixed fixes of things mentioned in the bug report
Javier Jardón [Mon, 9 Nov 2009 20:48:25 +0000 (21:48 +0100)]
Fix compilation warning: Use G_GNUC_UNUSED macro
add_builtin_module() is only used into #define block of code
Javier Jardón [Mon, 9 Nov 2009 04:48:45 +0000 (05:48 +0100)]
Fix compilation warning: Use G_POINTER_TO_UINT
GPOINTER_TO_UINT() doesn't drops the upper 32 bits on Win64 anymore.
The Glib commit
e4194cb055e44f8a1bd2ab666ead9fa040bcdb89 solved this
problem.
Javier Jardón [Mon, 9 Nov 2009 19:56:54 +0000 (20:56 +0100)]
Fix compilation warning: Disable unused function
Use #if 0 to disable unused gtk_text_btree_node_invalidate_downward()
Christian Dywan [Mon, 9 Nov 2009 15:36:17 +0000 (16:36 +0100)]
Clarify documentation of gtk_notebook_set_action_widget
Javier Jardón [Mon, 9 Nov 2009 09:27:30 +0000 (10:27 +0100)]
Fix some compilation warnings
Use the proper G*_TO_POINTER macro
Javier Jardón [Mon, 9 Nov 2009 08:41:51 +0000 (09:41 +0100)]
Fix compilation warning: initialize variable to NO_MATCH
Javier Jardón [Mon, 9 Nov 2009 01:25:06 +0000 (02:25 +0100)]
Fix compilation warning
Use GINT_TO_POINTER() and GPOINTER_TO_INT()
Javier Jardón [Mon, 9 Nov 2009 05:39:34 +0000 (06:39 +0100)]
Fix warning: Use parentheses around '&&' within '||'
Javier Jardón [Mon, 9 Nov 2009 01:01:56 +0000 (02:01 +0100)]
Fix compilation warning: Use const gchar* variable
Javier Jardón [Mon, 9 Nov 2009 00:53:25 +0000 (01:53 +0100)]
Fix compilation warning: Cast to gchar*
Javier Jardón [Mon, 9 Nov 2009 05:15:56 +0000 (06:15 +0100)]
Disable test until it is rewritten to work
Javier Jardón [Mon, 9 Nov 2009 05:09:40 +0000 (06:09 +0100)]
Fix compilation warning: initialize the variable
Javier Jardón [Sun, 8 Nov 2009 23:32:50 +0000 (00:32 +0100)]
Fix compilation warning: Cast to guchar*
Matthias Clasen [Mon, 9 Nov 2009 02:34:29 +0000 (21:34 -0500)]
Add GtkBuilder support for notebook action area.
Allow to place children into the notebooks action areas by using
"action-start" or "action-end" as the type.
Matthias Clasen [Mon, 9 Nov 2009 02:25:05 +0000 (21:25 -0500)]
Add an 'action area' to GtkNotebook
Add support for putting widgets in the tab area, before or after
the tabs. This was requested a long time ago in bug 116650. The
implementation is the work of Johannes Schmid.